package com.yuantu.judiciary.model.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * 登陆表单
 *
 * @author syw
 * @since 2023-08-03
 **/
@NoArgsConstructor
@AllArgsConstructor
@Data
@ApiModel("登陆管理端表单")
public class LoginForm {
    @NotBlank(message = "用户名不能为空")
    @ApiModelProperty("用户名")
    private String username;
    @NotBlank(message = "密码不能为空")
    @ApiModelProperty("密码")
    private String password;
}
